//
//  ZJStudySpcialModel.m
//  LovingPartyBuilding
//
//  Created by ZJ on 2017/5/8.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "ZJStudySpcialModel.h"
#import "ZJAdditions.h"
@implementation ZJStudySpcialModel

- (NSString *)description{
    return [self yy_modelDescription];
}

- (CGFloat)cellHeight{

    CGFloat textHeigth = [NSString  zj_getTextSpaceHeightFromText:self.CLASS_COMMENT font:[UIFont titleTextFont] width:[UIScreen zj_screenWith] - 24 * [UIScreen zj_screenWScale] Space:5 * [UIScreen zj_screenHScale] numberOfLines:3];
    
    if (textHeigth == 0) {
        textHeigth +=  (172 + 7.5 + 8 + 12) * [UIScreen zj_screenHScale]  + [NSString heightWithTextFontSize:[UIFont titleTextFontSize]]  + 5 * [UIScreen zj_screenHScale];
    }else{
        textHeigth +=  (172 + 7.5 + 8 + 12) * [UIScreen zj_screenHScale]  + [NSString heightWithTextFontSize:[UIFont titleTextFontSize]]  + 3 * 5 * [UIScreen zj_screenHScale];
    
    }
    return  textHeigth;
}

@end
